load("@rules_rust//rust:defs.bzl", "rust_library")

package(default_visibility = ["//rs/crypto:__subpackages__"])

rust_library(
    name = "test_utils",
    testonly = True,
    srcs = glob(["src/**"]),
    crate_name = "ic_crypto_internal_threshold_sig_canister_threshold_sig_test_utils",
    version = "0.1.0",
    deps = [
        # Keep sorted.
        "//rs/crypto/internal/crypto_lib/threshold_sig/canister_threshold_sig",
        "//rs/crypto/sha2",
        "//rs/types/types",
        "@crate_index//:assert_matches",
        #TODO(BTC-CRATE-UPGRADE): Migrate this to bitcoin.
        "@crate_index//:bitcoin_0_28",
        "@crate_index//:ed25519-dalek",
        "@crate_index//:hex",
        "@crate_index//:k256",
        "@crate_index//:p256",
        "@crate_index//:rand",
        "@crate_index//:secp256k1",
        "@crate_index//:sha2",
    ],
)
